package cn.mw.cmdb.enums;

public enum CompareRuleEnum {
    //整数
    gt(1,"大于"),
    //小数
    ge(2,"大于等于"),
    lt(3,"小于"),
    //小数
    le(4,"小于等于"),
    ne(5,"不等于");
    private Integer code;
    private String name;

    CompareRuleEnum(Integer code,String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
